package org.yangspring.samples.mvc.dao;

import org.yangspring.samples.mvc.domain.AnimalJoin;

import java.util.List;

/**
 * Created by whyang on 2017/06/19.
 */

public interface AnimalDao {

    public void addAnimal(AnimalJoin animal);
    public void updateAnimal(AnimalJoin animal);
    public List<AnimalJoin> listAnimal();
    public AnimalJoin getAnimalById(long id);
    public void removeAnimal(long id);

}
